<?php if (!defined('THINK_PATH')) exit();?>  <!DOCTYPE html>
<html lang="en">
<head>
<title>JwsCms内容管理系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/Public/Admin/css/style.css" />
<script src="/Public/Static/js/jquery-1.7.2.min.js"></script> 

</head>
<body>
	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    	<ul class="toolbar">
        <li class="click"><a href="<?php echo U('add');?>"><span><img src="/Public/Admin/img/t01.png" /></span>添加</a></li>
        <li><span><img src="/Public/Admin/img/t03.png" /></span>删除</li>
      </ul>
    </div>
        <table class="tablelist">
			<thead>
				<tr>
			        <th width="100px">用户名</th>
			        <th width="100px">模块</th>
			        <th width="100px">操作</th>
			        <th>文件</th>
			        <th width="150px">时间</th>
			        <th width="100px">状态</th>
			        <th width="200px">IP地址</th>
				</tr>
			</thead>
              <tbody>
                 <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
						<td><?php echo ($vo["username"]); ?></td>
						<td><?php echo ($vo["module"]); ?></td>
						<td><?php echo ($vo["action"]); ?></td>
						<td><?php echo ($vo["querystring"]); ?></td>
						<td><?php echo ($vo["date"]); ?></td>
				          <td align="center">
				            <?php echo $vo['status'] == 1 ? "操作成功" : "<font style='color:red'>操作失败</font>"; ?>
				          </td>
				          <td align="center"></td>
					</tr><?php endforeach; endif; else: echo "" ;endif; ?>
              </tbody>
            </table>
            <div id="pages">
  <?php echo ($page); ?>
</div>
  </div>
  <script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
    </script>
</body>
</html>